#ifndef _SKILLMETEOR_H_
#define _SKILLMETEOR_H_

#include "BaseSkill.h"
#include "cocos2d.h"

class SkillMeteor : public BaseSkill
{

private:
	//===== GAME VARIABLES =====
	bool						skillEffectActivated;
	float						timeTaken; //Current time elapsed since skill activated
	float						skillEffectDuration; //Duration for the effect to run down

	cocos2d::CCSprite *			_skillEffectHitSprite;

public:
	//===== CONSTRUCTOR =====
	SkillMeteor();

	//===== DESTRUCTOR =====
	~SkillMeteor();

	//====== FUNCTION =====
	//Init
	static BaseSkill* 			loadSkill(cocos2d::CCString filename);

	virtual cocos2d::CCRect 	getSkillEffectRect();
	virtual void				activateSkill();

	virtual bool 				touchesBegan(cocos2d::CCPoint location, GameManager* mygamemanager);
	virtual void				update(float timeDiff, CatsManager* pCatsRef, int chargepoints);

};

#endif //_SKILLMETEOR_H_
